window.onload = function() { 
	// RESIZE NOT APPLICABLE IN FB
	/*window.parent.postMessage(document.body.scrollHeight,"*");
	jQuery( window ).resize( function () { window.parent.postMessage(document.body.scrollHeight,"*"); }).resize();	// on change
	jQuery('html,body').bind('heightChange', function(){  });
	*/
};	// onload resize
function resizeIframe() { /*window.parent.postMessage(document.body.scrollHeight,"*");*/ }

 function getCookie(fb_cname) {
	var name = fb_cname + "=";
	var ca = document.cookie.split(';');
	for(var i=0; i<ca.length; i++) 
	{
	var c = ca[i].replace(/\s/g, "");
	if (c.indexOf(name)==0) return c.substring(name.length,c.length);
	}
	return "";
   }